package cn.sc.summer.constant.mybatisplus;

import com.google.common.base.CaseFormat;

/**
 * 类名：持久层常量池
 *
 * @author a-xin
 * @date 2024/8/26 09:34
 */
public class MybatisConstant {

    /**
     * 数据库表租户字段
     */
    public static final String TENANT_FILED_TABLE = "data_tenant_id";

    /**
     * 租户字段
     */
    public static final String TENANT_FILED = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, MybatisConstant.TENANT_FILED_TABLE);

    /**
     * mapper包前缀
     */
    public static final String MAPPER_PACKAGE = "cn.sc.summer.daoapi.*";

    /**
     * 项目包前缀
     */
    public static final String PROJECT_PACKAGE = "cn.sc.summer.*";

}
